package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(100);not null;commit:'账号'"`
	Password string `gorm:"type:varchar(100);not null;commit:'密码'"`
	GoodID   int64  `gorm:"type:int(11);not null;commit:'商品ID'"`
}
type Good struct {
	gorm.Model
	GoodName  string `gorm:"type:varchar(100);not null;commit:'商品名称'"`
	GoodStyle string `gorm:"type:varchar(100);not null;commit:'商品类型'"`
}
 